package com.duoduo.admin.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.EntityListeners;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Data;

@Entity
@Data
@EntityListeners(AuditingEntityListener.class)
public class SysPublicParam implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3068799939336170702L;
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
     /**
	 * ID
	 */
	private Long id;
     /**
	 * 名称
	 */
	private String publicName;
     /**
	 * 标识
	 */
	private String publicKey;
     /**
	 * 值
	 */
	private String publicValue;
     /**
	 * 状态
	 */
	private Integer status;
     /**
	 * 系统默认
	 */
	private String validateCode;
     /**
	 * 系统默认
	 */
	private String systemFlag;
     /**
	 * 创建人
	 */
    @CreatedBy
	private String createBy;
     /**
	 * 创建时间
	 */
    @CreatedDate
	private LocalDateTime createTime;
     /**
	 * 修改人
	 */
    @LastModifiedBy
	private String updateBy;
     /**
	 * 更新时间
	 */
    @LastModifiedDate
	private LocalDateTime updateTime;

}
